30f64b
@@ -735,7 +735,7 @@
public class JettyHttpComponent extends HttpComponent implements RestConsumerFac
                     .invoke(result, responseBufferSize);
             }
             if (result != null && responseHeaderSize != null) {
-                result.getClass().getMethod("setResponseBufferSize", Integer.TYPE)
+                result.getClass().getMethod("setResponseHeaderSize", Integer.TYPE)
                     .invoke(result, responseHeaderSize);
             }
 
@@ -785,7 +785,7 @@
public class JettyHttpComponent extends HttpComponent implements RestConsumerFac
      * Creates a new {@link HttpClient} and configures its proxy/thread pool and SSL based on this
      * component settings.
      *
-     * @Param endpoint   the instance of JettyHttpEndpoint
+     * @param endpoint   the instance of JettyHttpEndpoint
      * @param minThreads optional minimum number of threads in client thread pool
      * @param maxThreads optional maximum number of threads in client thread pool
      * @param ssl        option SSL parameters
